<template>
  <div class="index">
    <div class="top">
      <ul>
        <li
          v-for="(item, i) in tabList"
          :key="i"
          :class="tabIndex == i ? 'active' : ''"
          @click="handleTabChange(i)"
        >
          {{ item.name }}[60]
        </li>
      </ul>
    </div>
    <el-image class="img_box" :src="urls" preview-src-list> </el-image>
    <!-- 正向选片 -->
    <!-- <div class="btn">
      <div class="cancelBtn">汰</div>
      <div class="chooseBtn">选</div>
    </div>
    <div class="startBtn">提交选片</div> -->
    <!-- 删片模式 -->
    <div class="bottom">
      <div class="left">剩余时间: <span>08:10</span></div>
      <!-- 删除图标 el-icon-delete -->
      <div class="middle"><i style="fontSize:40px;color:#00B890" class="el-icon-circle-plus-outline"></i></div>
      <div class="right">提交选片</div>
    </div>
    <div style="height: 40px"></div>
  </div>
</template>
  
  <script>
export default {
  data() {
    return {
      urls: "https://fuss10.elemecdn.com/3/28/bbf893f792f03a54408b3b7a7ebf0jpeg.jpeg",
      tabList: [
        { id: 1, name: "全部" },
        { id: 2, name: "已选" },
        { id: 3, name: "未选" },
      ],
      tabIndex: 0,
    };
  },
  methods: {
    handleTabChange(i) {
      this.tabIndex = i;
    },
  },
};
</script>
  
  <style scoped lang="less">
.index {
  width: var(--contentWidth);
  margin: 0 auto;
  height: auto;
}
.top {
  height: 40px;
  line-height: 40px;
  ul {
    display: flex;
    margin-bottom: 4px;
  }
  li {
    margin: 0 12px;
  }
  .active {
    border-bottom: 2px solid #30c2a3;
    color: #30c2a3;
  }
}
.img_box {
  margin-top: 10px;
  width: 100%;
  height: 600px;
  // filter:blur(10px); //图片模糊
}
.btn {
  justify-content: center;
  display: flex;
  width: 300px;
  margin: 0 auto;
  .cancelBtn,
  .chooseBtn {
    width: 100px;
    text-align: center;
    height: 40px;
    line-height: 40px;

    margin: 0 auto;
    margin-top: 30px;
  }
}
.chooseBtn {
  border: 1px solid #30c2a3;
  font-size: 12px;
  color: #30c2a3;
}
.cancelBtn {
  border: 1px solid #f24242;
  font-size: 12px;
  color: #f24242;
}
.startBtn {
  text-align: center;
  width: 150px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #30c2a3;
  font-size: 12px;
  color: #30c2a3;
  margin: 0 auto;
  margin-top: 30px;
}
.bottom {
  display: flex;
  justify-content: space-between;
  height: 100px;
  align-items: center;
  .left {
    color: rgb(16, 16, 16);
    font-size: 20px;
    span {
        padding-left: 4px;
      color: #00b890;
    }
  }
  .right{
  text-align: center;
  width: 100px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #30c2a3;
  font-size: 12px;
  color: #30c2a3;
  }
}
</style>